#ifndef _BARBER_SHOP_H_
#define _BARBER_SHOP_H_

#include "Poco/Mutex.h"

class BarberShop
{
public:

	static BarberShop* GetInstance();

	const unsigned int maxSeats;
	Poco::Mutex seatsMutex;

	unsigned int GetCurrentSeat() const { return _currentSeat; }
	void IncreaseCurrentSeat();
	void DecreaseCurrentSeat();

private:

	BarberShop();

	static BarberShop* _shop;
	unsigned int _currentSeat;
};

#endif // _BARBER_SHOP_H_